{include file='header.html'}
{include file='admin/admin_nav.html'}

<div class="rbox">
<form action="{$appadmin}?m=admin&a=save" method="post" autocomplete="off">
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="table table-bordered">
  <tr>
    <td width="154" height="25" align="right">管理员：</td>
    <td width="586"><input name="username" type="text" id="username" value="{$data.username}" size="40" /></td>
  </tr>
   
  
  <tr>
    <td height="25" align="right">密码：</td>
    <td><input name="password" type="password" id="password" size="40" /></td>
  </tr>
  <tr>
    <td height="25" align="right">确认密码：</td>
    <td><input name="password2" type="password" id="password2" size="40" /></td>
  </tr>
  
  
  <tr>
    <td height="25" align="right">所属组：</td>
    <td><select name="group_id" id="group_id">
    {foreach item=z from=$grouplist}
    <option value="{$z.id}" {if $data.groupid eq $z.id} selected="selected"{/if}>{$z.title}</option>
    {/foreach}
    </select></td>
  </tr>
  {get data=citys model=options fun=children(0,"sitearea")}
  <tr>
  	<td align="right">城市</td>
    <td>
    	<select name="cityid">
        <option value="0">请选择城市</option>
        {foreach item=c from=$citys}
        <option value="{$c.id}" {if $data.cityid eq $c.id} selected{/if}>{$c.title}</option>
        {/foreach}
        </td>
  </tr>
  <tr>
    <td height="25" align="right">&nbsp;</td>
    <td><input type="submit" name="button" id="button" value="提交" class="btn" /></td>
  </tr>
</table>

</form>
</div> 
{include file='footer.html'}